::-webkit-scrollbar {
  width: 8px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  filter: blur(10px);
  cursor: pointer;
  background: #979fda40;
  margin-right: 5px;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

div,
span,
a,
li,
code,
input {
  font-family: var(--Font-Family-Global);
}

.global-style {
  --Color-Mask: rgba(255, 255, 255, 0.9);
  --Color-Theme: rgb(var(--Color-Theme-RGB));
  --Color-Theme-RGB: 66, 185, 131;
  --Color-Crystal: rgb(var(--Color-Crystal-RGB));
  --Color-Crystal-RGB: 35, 203, 255;
  --Box-Shadow-Glass: 0 1px 2px -2px rgb(0 0 0 / 16%),
    0 3px 6px 0 rgb(0 0 0 / 12%), 0 5px 12px 4px rgb(0 0 0 / 9%);
  --Font-Size-Content-Small: 14px;
  --Font-Size-Content-Medium: 16px;
  --Font-Size-Content-Large: 18px;
  --Font-Size-Title-Small: 20px;
  --Font-Size-Title-Medium: 22px;
  --Font-Size-Title-Large: 24px;
  --Font-Family-Global: Consolas, Crystal, Monaco, 'Andale Mono', 'Ubuntu Mono',
    monospace, Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
}

.small-screen-style {
  --Font-Size-Content-Small: 12px;
  --Font-Size-Content-Medium: 14px;
  --Font-Size-Content-Large: 16px;
  --Font-Size-Title-Small: 18px;
  --Font-Size-Title-Medium: 20px;
  --Font-Size-Title-Large: 22px;
}

.small-screen-style #bg {
  background-position: calc(100% + 100px) calc(100% + 10px);
}

.small-screen-style .small-screen-hide {
  display: none !important;
}

body:not(.small-screen-style) .small-screen-show {
  display: none !important;
}

.App {
  text-align: center;
}

.App .content-container {
  padding: 20px 10px;
  box-sizing: border-box;
  margin: auto;
  width: clamp(80%, 768px, 100%);
  overflow: hidden;
}

.swiper-pagination-horizontal {
  position: absolute;
  bottom: 0;
}

.ant-menu-sub.ant-menu-inline {
  max-height: 135px;
  overflow-y: auto;
}

.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar {
  width: 800px;
  height: 400px;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .ant-skeleton.ant-skeleton-active .ant-skeleton-avatar {
    width: 300px;
    height: 200px;
  }
}
